package com.ruoyi.finance.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.utils.spring.SpringUtils;
import com.ruoyi.finance.domain.KltPurchaseBatch;
import com.ruoyi.finance.mapper.KltPurchaseBatchDao;

import javax.annotation.Resource;
import java.util.List;

/**
 * (KltPurchaseBatch)表服务接口
 *
 * @author makejava
 * @since 2024-12-19 12:18:03
 */
public interface KltPurchaseBatchService extends IService<KltPurchaseBatch> {

    List<KltPurchaseBatch> getAllKltPurchaseBatch(Wrapper<KltPurchaseBatch> kltPurchaseBatch);

    Integer getMaxId();

    List<KltPurchaseBatch> selectBySales(Integer salesOrderId);

    //    采购与合同中间表关系添加
    Boolean InsertPurchaseBatchSalesOrder(Integer purchaseId,Integer salesOrderId);

}

